{{ define "components/toast" }}
  <div class="toast text-bg-{{ .Severity }} border-0 show" role="alert" aria-live="assertive" aria-atomic="true">
    <div class="d-flex">
      <div class="toast-body">
        <strong class="text-break">{{ .Message }}</strong>
      </div>
      {{ if .Dismissible }}
        <button
          type="button"
          class="btn-close btn-close-white me-2 m-auto"
          data-bs-dismiss="toast"
          aria-label="Close"></button>
      {{ end }}
    </div>
  </div>
{{ end }}
